<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        * {
            margin: 0;
            padding: 0;
        }
        
        .float {
            float: left;
            /* height: 100px; */
            opacity: 0.5;
        }
        
        .around {
            background-color: #00ff90;
            width: 300px;
            padding: 10px;
        }
    </style>
</head>

<body>
    <img src="https://ts1.cn.mm.bing.net/th?id=ORMS.0806ca8f853e5608aa0a1fe47e331ab7&pid=Wdp&w=300&h=156&qlt=60&c=1&rs=1&dpr=1.5&p=0" alt="" class="float">
    <p class="around">
        iu djkshcjd dijc cidocj docjosdc djcosd
    </p>
</body>

</html>